<form action="/admin/adduser.html" method="POST">
	<table border='0' cellspacing='0' cellpadding='0'>
		<tr>
			<td width="15px" style="padding:10px 0 0 20px;">Імя <font color='red' size="3px">*</font>:</td>
			<td width="700px"><input name='name' type="text" style="width:350px;" /></td>
		</tr>
		<tr>
			<td width="15px" style="padding:10px 0 0 20px;">Логін <font color='red' size="3px">*</font>:</td>
			<td width="700px"><input name='login' type="text" style="width:350px;" /></td>
		</tr>
		<tr>
			<td width="15px" style="padding:10px 0 0 20px;">Пароль <font color='red' size="3px">*</font>:</td>
			<td width="700px"><input name='pass1' type="password" style="width:350px;" /></td>
		</tr>
		<tr>
			<td width="15px" style="padding:10px 0 0 20px;">Підтвердження паролю <font color='red' size="3px">*</font>:</td>
			<td width="700px"><input name='pass2' type="password" style="width:350px;" /></td>
		</tr>
		<tr>
			<td width="15px" style="padding:10px 0 0 20px;">E-mail <font color='red' size="3px">*</font>:</td>
			<td width="700px"><input name='email' type="text" style="width:350px;" /></td>
		</tr>
		<tr>
			<td width="15px" style="padding:10px 0 0 20px;">Група:</td>
			<td width="700px">
				<select name='group' style="width:350px;">
					<?php foreach($obj->groups as $group){
						echo"<option value='".$group['id']."' >".$group['role']."</option>";
					} ?>
				</select>
			</td>
		</tr>
		<tr><td  style="padding:10px 0 0 20px;" colspan="2">
			<input class="button" type="submit" value="Додати"/>
			</td>
		</tr>
	</table>
</form>
<div style="padding:10px 0 0 20px;color:<?php echo $obj->status['color']; ?>;font-size:14px;"><?php echo $obj->status['content']; ?></div>
